9.8
CRITICAL CVSS 3.1
CVE-2026-5118
Divi Form Builder <= 5.1.2 - Unauthenticated Privilege Escalation via 'role'
Description

The Divi Form Builder plugin for WordPress is vulnerable to privilege escalation in versions up to, and including, 5.1.2. This is due to the plugin accepting a user-controlled 'role' parameter from POST data during user registration without validating it against the form's configured default_user_role setting. This makes it possible for unauthenticated attackers to create administrator accounts by tampering with the role parameter during registration.

INFO

Published Date :

May 21, 2026, 1:16 p.m.

Last Modified :

May 21, 2026, 3:19 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2026-5118 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 CRITICAL [email protected]
Solution
Update the Divi Form Builder plugin to the latest version to fix privilege escalation.
  • Update the Divi Form Builder plugin.
  • Verify user registration role.
  • Remove the plugin if not needed.
Public PoC/Exploit Available at Github

CVE-2026-5118 has a 5 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-5118.

URL Resource
https://diviengine.com/divi-form-builder-changelog/
https://www.wordfence.com/threat-intel/vulnerabilities/id/72154404-f956-4ea2-96ec-166ade87885f?source=cve
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-5118 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-5118 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Divi Form Builder <= 5.1.2 — Unauthenticated Privilege Escalation via Role Injection

Python

Updated: 2 weeks, 6 days ago
0 stars 1 fork 1 watcher
Born at : May 22, 2026, 7:53 a.m. This repo has been linked 1 different CVEs too.

CVE-2026-5118 – Python2 mass exploit for Divi WordPress plugin Unauthenticated administrator registration via admin-ajax.php. Multi‑threaded scanner with nonce extraction.

exploit mass-exploit penetration-testing privilege-escalation python2 unauthenticated vulnerability-scanner wordpress cve-2026-5118

Python

Updated: 2 weeks, 6 days ago
0 stars 0 fork 0 watcher
Born at : May 21, 2026, 10:45 p.m. This repo has been linked 1 different CVEs too.

CVE-2026-5118-exp_wordpress_Divi Form Builder

Python

Updated: 2 weeks, 6 days ago
0 stars 0 fork 0 watcher
Born at : May 21, 2026, 1:08 p.m. This repo has been linked 1 different CVEs too.

CVE-2026-5118 | Divi Form Builder <= 5.1.2 | Unauthenticated Privilege Escalation via Role Injection

Updated: 2 weeks, 4 days ago
5 stars 0 fork 0 watcher
Born at : May 21, 2026, 10:12 a.m. This repo has been linked 1 different CVEs too.

📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.

security cve exploit poc vulnerability

Updated: 3 days, 16 hours ago
7810 stars 1261 fork 1261 watcher
Born at : Dec. 8, 2019, 1:03 p.m. This repo has been linked 718 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-5118 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-5118 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by [email protected]

    May. 21, 2026

    Action Type Old Value New Value
    Added Description The Divi Form Builder plugin for WordPress is vulnerable to privilege escalation in versions up to, and including, 5.1.2. This is due to the plugin accepting a user-controlled 'role' parameter from POST data during user registration without validating it against the form's configured default_user_role setting. This makes it possible for unauthenticated attackers to create administrator accounts by tampering with the role parameter during registration.
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Added CWE CWE-269
    Added Reference https://diviengine.com/divi-form-builder-changelog/
    Added Reference https://www.wordfence.com/threat-intel/vulnerabilities/id/72154404-f956-4ea2-96ec-166ade87885f?source=cve
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.